﻿using System;

using Fuse8.DomainFramework.Domain;

using Fuse8.ContentManagementFramework.Domain.Commands.CommandParameters;

namespace Fuse8.ContentManagementFramework.Domain.Commands
{
    public abstract class CmsMimeTypeGetForContentTypeCommand : BaseEntityParameterCommand<CmsMimeType, CmsMimeTypeGetForContentTypeCommandParameter>
    {
        public override string CacheKey
        {
            get 
            {
                return string.Format("ContentType_{0}", CommandParameter.ContentType);
            }
        }

        public override string CommandName
        {
            get 
            {
                return "CmsMimeTypeGetForContentTypeCommand";
            }
        }
    }
}
